#include <header.h>

int main(){

    int fd = open("3.txt", O_RDWR);

    int fd2 = dup(fd);

    write(fd, "nihao", 5);
    close(fd);


    write(fd2, "hello", 5);
    close(fd2);

    return 0;
}

